//**************************************************************************
//   CarTest.java        Author:20172330
//
//   car
//**************************************************************************
public class CarTest
{
      public static void main(String[] args)
    {
    Car car1 = new Car("Volkswagen","Volkswagen Beetle",1959);
    
    System.out.println("1: " + car1.getName());
    System.out.println("2: " + car1.getNum());
    System.out.println("3: " + car1.getDate());
    System.out.println("Overall status: " + car1.toString());
    System.out.println("is Antique car？" + car1.isAntique());

    car1.setName("Ford");
    car1.setNum("cobra");
    car1.setDate(2000);
    System.out.println("Overall status: " + car1.toString());
    System.out.println("is Antique car？" + car1.isAntique());
    }
}

